namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("WORKFLOW_AUDITDETAIL")]
    public partial class WORKFLOW_AUDITDETAIL
    {
        [Key]
        [StringLength(40)]
        public string AUDIT_ID { get; set; }

        [StringLength(40)]
        public string TEMPLATE_ID { get; set; }

        [StringLength(40)]
        public string USER_ID { get; set; }

        [StringLength(40)]
        public string BUSINESS_ID { get; set; }

        public bool? AUDIT_NO { get; set; }

        public DateTime? SEND_TIME { get; set; }

        public byte? APPROVAL_TYPE { get; set; }

        public byte? APPROVAL_STATUS { get; set; }

        public DateTime? PROCESSING_TIME { get; set; }

        [StringLength(200)]
        public string MARK { get; set; }

        public virtual SYS_USERS SYS_USERS { get; set; }

        public virtual WORKFLOW_TEMPLATE WORKFLOW_TEMPLATE { get; set; }
    }
}
